<extend name="Public/base"/>

<block name="style">
  <style type="text/css">
   .lab{
   	 font-weight:bold;
     color:#353535;
   	margin-left:20px;
   }
   .sp{
	color:#525557;
   }
   .bq{
	padding:2px 4px;
   }
   .panel{
       width:1000px;
   }
   .pp{
	align:"left";
   	font-family:Georgia, serif;
   	font-size:20px;
   	width:850px;
   }
  </style>
</block>

<block name="body">
<script type="text/javascript" src="__STATIC__/uploadify/jquery.uploadify.min.js"></script>
    <div class="main-title cf">
        <h2>
            <!-- <if condition="ACTION_NAME eq 'add'">新增合同
                <else/>
               编辑合同
            </if> -->
            技术详情
        </h2>
    </div>
    <!-- 表单 -->
    <div class="with-padding" style="margin:auto">
         
        <volist name="data" id="vo">                 
          <h1>{$vo.tecname}</h1>  
			<div class="panel panel-info">
			  <div class="panel-heading">
			    基本信息
			  </div>
			  <div class="panel-body">
			      <span class="lab">联系人：</span>
		           <span class="sp">{$vo.cname}</span>
		           <span class="lab">发起时间：</span>
		           <span class="sp">{$vo.sendtime}</span><br/>
		           <!-- <div style="margin-top:10px"> <span class="lab">技术状态：</span>
		               <span class="label label-success" style="font-size:12px">{$vo.xdstatus_text}</span>
		               <span class="sp bq" style="background:#d0dbe1"></span>
		           </div>  -->
		           <div style="margin-top:10px">
			           <span class="lab">所在地：</span>
			           <span class="sp">
			             <volist name="vo.tids" id="v">{$v.name}　</volist>
			             <span>--</span>
			             <volist name="vo.tids1" id="v">{$v.name}　</volist>
			           </span>
		           </div>
		           <span class="lab" style="line-height:40px">联系方式：</span>
		              <span class="sp">{$vo.ctelephone}</span><br/>
		           
		           <span class="lab" style="line-height:20px">合作模式：</span>
		              <span class="label label-badge label-primary">{$vo.cootype}</span>
		           
		           <span class="lab" style="line-height:20px">应用领域：</span>
		              <span class="label label-badge label-primary">
		                <volist name="vo.tids2" id="v">{$v.name}</volist>
			             <span>--</span>
			             <volist name="vo.tids3" id="v">{$v.name}　</volist>
		              </span>
		            
		            <span class="lab" style="line-height:20px">技术成熟度：</span>
			           <span class="label label-badge label-primary">{$vo.csd}</span>
			  
			  </div>
			</div>
        
			<div class="panel panel-info">
				  <div class="panel-heading">
				      技术描述
				  </div>
				  <div class="panel-body">
				      <p class="pp">{$vo.jsms}</p>
				  </div>
			</div>
			
			
			<div class="panel panel-info">
				  <div class="panel-heading">
				      主要创新点
				  </div>
				  <div class="panel-body">
				      <p class="pp">{$vo.innovate}</p>
				  </div>
			</div>
			
			<div class="panel panel-info">
				  <div class="panel-heading">
				      能实现的指标
				  </div>
				  <div class="panel-body">
				      <p class="pp">{$vo.target}</p>
				  </div>
			</div>
			
           <div class="panel panel-info">
				  <div class="panel-heading">
				       使用场景
				  </div>
				  <div class="panel-body">
				    <p class="pp">{$vo.scene}</p>
				  </div>
			</div> 
			
			
			<div class="panel panel-info">
				  <div class="panel-heading">
				       获得的成就
				  </div>
					<if condition="$vo.patentid neq 0">
						  <div class="panel-body">
							    <span class="lab">专利名称：</span>
					            <span class="sp">{$vo.patent}</span>
					            <span class="lab">专利号：</span>
					            <span class="sp">{$vo.number}</span>
					    		<div style="margin-top:10px">
						            <span class="lab">专利类型：</span>
						            <span class="sp">{$vo.type}</span>
						            <span class="lab">法律状态：</span>
						              <span class="sp">{$vo.lstatus}</span>
					            </div>
						  </div>
					</if>	 
					 <if condition="$vo.awardid neq 0">
				
						    <span class="lab">奖项名称：</span>
				            <span class="sp">{$vo.aname}</span>
				            <span class="lab">获奖时间：</span>
				            <span class="sp">{$vo.time}</span>
				  <br/>
			
					  </if>
					   <if condition="$vo.paperid neq 0">
						  <div style="margin-top:10px">
							    <span class="lab">论文名称：</span>
					            <span class="sp">{$vo.pname}</span>
					            <span class="lab">出版社：</span>
					            <span class="sp">{$vo.publish}</span>
					    </div>		
						  
				         <else/>
				        <span class="lab">无</span>
					   </if> 
					       
					
		 
				  
				  
				  
				  
				  
				  
			</div>   
     					
        <div class="form-item">
            <input type="hidden" name="id" value="{$data.id}"/>
            <!-- <button type="submit" class="btn submit-btn ajax-post" target-form="form-horizontal">{:L("_SURE_WITH_SPACE_")}</button> -->
            <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">{:L("_RETURN_WITH_SPACE_")}</button>
        </div>      
       
    </div>
     
     
</block>

<block name="script">
    <script type="text/javascript" src="__STATIC__/uploadify/jquery.uploadify.min.js"></script>
    <script type="text/javascript" charset="utf-8">
    Think.setValue('type', {$data.type|default = 1});
    Think.setValue('lstates', {$data.lstates|default = 1});
        //导航高亮
        highlight_subnav('{:U('Actmanage/vipindex')}');
    </script>
    
    <link type="text/css" rel="stylesheet" href="/duijie/Public/js/ext/magnific/magnific-popup.css"/>
    <script type="text/javascript" src="/duijie/Public/js/ext/magnific/jquery.magnific-popup.min.js"></script>

    <script type="text/javascript" charset="utf-8" src="/duijie/Public/js/ext/webuploader/js/webuploader.js"></script>
    <link href="/duijie/Public/js/ext/webuploader/css/webuploader.css" type="text/css" rel="stylesheet">


    <script>

        $(document).ready(function () {
            $('.popup-gallery').each(function () { // the containers for all your galleries
                $(this).magnificPopup({
                    delegate: 'a',
                    type: 'image',
                    tLoading: '正在载入 #%curr%...',
                    mainClass: 'mfp-img-mobile',
                    gallery: {
                        enabled: true,
                        navigateByImgClick: true,
                        preload: [0, 1] // Will preload 0 - before current, and 1 after the current image

                    },
                    image: {
                        tError: '<a href="%url%">图片 #%curr%</a> 无法被载入.',
                        titleSrc: function (item) {
                            /*           return item.el.attr('title') + '<small>by Marsel Van Oosten</small>';*/
                            return '';
                        },
                        verticalFit: true
                    }
                });
            });
                    });
    </script>
</block>
